package net.trustie.pipeline;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import core.PageModelPipeline;
import net.trustie.dao.Lupaworld_Dao;
import net.trustie.model.lupaworld_Model;
import us.codecraft.webmagic.Task;

@Component("lupaworld_pipeline")
public class Lupaworld_pipeline implements PageModelPipeline<lupaworld_Model>{
	
	@Resource
	private Lupaworld_Dao lupaDao;

	@Override
	public void process(lupaworld_Model t, Task task) {
		
		lupaDao.add(t);
		
	}

}
